import {
  frontpageexport, equipmentUsageexport, exportWarehousing,
  exportInStock, requisitionexport, envManageexport, errorenvManageexport,
  miantainfindListByExcel, accessManageexport, baseEquipmentExport, findListByManage
} from '@/http/api'


export default {
  exportInterface(name, params) {
    switch (name) {
      case 'frontpageexport':
        frontpageexport(params);
        break;
      case 'equipmentUsageexport':
        equipmentUsageexport(params);
        break;
      case 'exportWarehousing':
        exportWarehousing(params);
        break;
      case 'exportInStock':
        exportInStock(params);
        break;
      case 'requisitionexport':
        requisitionexport(params);
        break;
      case 'envManageexport':
        envManageexport(params);
        break;
      case 'errorenvManageexport':
        errorenvManageexport(params);
        break;
      case 'accessManageexport':
        accessManageexport(params);
        break;
      case 'baseEquipmentExport':
        baseEquipmentExport(params);
        break;
      case 'findListByManage':
        findListByManage(params);
        break;
      case 'miantainfindListByExcel':
        miantainfindListByExcel(params);
        break;
    }
  },

}